package io.github.libkodi.basic_gateway.router.annotations;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import io.github.libkodi.basic_gateway.router.HttpMethod;


@Retention(RUNTIME)
@Target(METHOD)
public @interface Route {
	String[] value();
	HttpMethod[] method() default { HttpMethod.GET, HttpMethod.POST, HttpMethod.PUT, HttpMethod.DELETE };
	String consumes() default "";
	String[] produces() default {};
}
